package com.pay.strategy.impl;

import com.pay.entity.PaymentChannelDO;
import com.pay.entity.PaymentInfoDO;
import com.pay.strategy.PayStrategy;
import org.springframework.stereotype.Component;

/**
 * @author 周益和
 * @ClassName PingAnPayStrategy
 * @qq 1552951165
 */
@Component
public class PingAnPayStrategy implements PayStrategy {
    
    // todo 调用平安支付的接口逻辑
    @Override
    public String toPay(PaymentInfoDO payTokenPaymentInfo, PaymentChannelDO paymentChannelDo) {
        return "调用平安支付接口";
    }
    
    @Override
    public boolean payIdByPayResult(PaymentInfoDO paymentInfo) {
        return false;
    }
}
